﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="grade.edit.aspx.cs" Inherits="admin_grade_edit" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="edit_from" runat="server" class="form-horizontal" role="form" action='grade.edit.aspx?do=save'>
        <input type="hidden" name="nid" value="<%=Data<decimal>("nid") %>" />
        <input type="hidden" name="creator" value="<%=Data<decimal>("creator") %>" />
        <input type="hidden" name="systime" value="<%=Data<DateTime>("systime") %>" />
        <input type="hidden" name="status" value="<%=Data<decimal>("status") %>" />
        <div class="control-group">
            <label class="control-label" for="txtGradeName">年级</label>
            <div class="controls">
                <input type="text" class="form-control" id="name" name="name" style="width: 83%" value="<%=Data("name") %>" />
            </div>
        </div>
        <div class="control-group">
            <label class="control-label" for="<%# image.ClientID %>">图标</label>
            <div class="controls">
                <asp:FileUpload ID="image" runat="server" ClientIDMode="Static" class="form-control" Style="width: 83%" />
            </div>
        </div>
        <div class="control-group">
            <label class="control-label" for="txtGradeMenu">菜单</label>
            <div class="controls">
                <input type="checkbox" id="ismenu" name="ismenu" value="true" <%=Data<bool>("ismenu") ? "checked" : string.Empty %> />
                <input type="text" placeholder="顺序位" class="form-control" id="menuindex" name="menuindex" style="width: 80%; padding-right: -40px;" value="<%=Data<decimal>("menuindex") %>" />
            </div>
        </div>

        <div class="control-group">
            <label class="control-label" for="txtGradeDesc">描述</label>
            <div class="controls">
                <textarea class="form-control" rows="10" cols="120" id="description" name="description" style="width: 84%"><%=Data("description") %> </textarea>
            </div>
        </div>
    </form>
</body>
</html>
